package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * @author sxy
 */
public enum BillStatusEnum implements IEnum {
    /**
     *待审批
     */
    COMPLETE(0, "待审批", 0),

    /**
     * 已通过
     */
    PASSED(1,"已通过",0),
    /**
     * 已驳回
     */
    REJECT(2,"已驳回",0),
    /**
     *已完成
     */
    PAYMENT_TIME(3, "已完成", 0);

    private Integer id;
    private String name;
    private Integer select;

    BillStatusEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
